Total Complexity | 71 |
Dependencies | 3 |
Dependents | 1 |
Total lines | 402 |
Lines of code | 225 |
Logical lines of code | 118 |
Comment lines | 127 |
Methods | 11 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
add_block_templates() | 40 | 18 | 57 | |
render_block_template() | 49 | 18 | 30 | |
get_block_file_template() | 47 | 8 | 34 | |
get_block_templates_from_woocommerce() | 49 | 8 | 31 | |
remove_block_template_support_for_shop_page() | 60 | 6 | 13 | |
get_block_templates_from_db() | 52 | 3 | 25 | |
__construct() | 65 | 3 | 8 | |
block_template_is_available() | 65 | 3 | 9 | |
get_templates_directory() | 72 | 2 | 6 | |
init() | 69 | 1 | 6 | |
get_block_templates() | 70 | 1 | 6 |